home *** CD-ROM | disk | FTP | other *** search
/ Champak 145 / (Vol 145) Dec 21 2011.iso / Games / hearts.swf / scripts / DefineSprite_638 / frame_1 / DoAction_18.as < prev    next >
Encoding:
Text File  |  2011-12-21  |  703 b   |  28 lines

  1. this.launcher.gotoAndStop("blank");
  2. this.toggleTitleBtns = function(what)
  3. {
  4.    var t = this.mainDisplay;
  5.    t.playBtn.enabled = what;
  6.    t.helpBtn.enabled = what;
  7.    t.optionsBtn.enabled = what;
  8.    t.statsBtn.enabled = what;
  9.    t.galleryBtn.enabled = what;
  10.    t.hsBtn.enabled = what;
  11.    t.cpBtn.enabled = what;
  12. };
  13. this.togglePauseBtns = function(what)
  14. {
  15.    var t = this.mainDisplay;
  16.    t.resumeBtn.enabled = what;
  17.    t.optionsBtn.enabled = what;
  18.    t.quitBtn.enabled = what;
  19. };
  20. this.togglePlayerBtns = function(what)
  21. {
  22.    var t = this.mainDisplay;
  23.    t.npBtn.enabled = what;
  24.    t.proceedBtn.enabled = what;
  25.    t.deleteBtn.enabled = what;
  26.    t.recAccountBtn.enabled = what;
  27. };
  28.